package com.ajk.server.service;
import java.util.List;

import com.ajk.server.model.CreditsFrequencyDict;
import com.ajk.server.model.query.CreditsFrequencyDictQuery;

/**
 * 积分频率  <br>
 * dict_credits_frequency <br>
 * v1.0 2016-05-01
 */
 public interface CreditsFrequencyDictService {
	
	/**
 	*根据ID删除 积分频率
 	*/
 	public Integer deleteCreditsFrequencyDictById(Integer id);
 	
 	/**
 	*新增 积分频率
 	*/
 	public Integer batchInsertCreditsFrequencyDict(List<? extends CreditsFrequencyDict> creditsFrequencyDicts);
 	
 	/**
 	*新增 积分频率
 	*/
 	public Integer insertCreditsFrequencyDict(CreditsFrequencyDict domain);
 
 	
 	/**
 	*更新 积分频率
 	*/
 	public Integer updateCreditsFrequencyDict(CreditsFrequencyDict domain);
 	
 	/**
 	*根据ID查询 积分频率
 	*/
 	public CreditsFrequencyDict findCreditsFrequencyDictById(Integer id);

	/**
 	*通过query 查询 积分频率
 	*/
	public List<CreditsFrequencyDict> findCreditsFrequencyDictByQuery(CreditsFrequencyDictQuery query);	
	
	/**
 	*通过query count总条数
 	*/
 	public Integer countCreditsFrequencyDictByQuery(CreditsFrequencyDictQuery query);
 	
 	/**
 	* 通过ids查询
 	*/
 	public List<CreditsFrequencyDict> findCreditsFrequencyDictByIds(List<Integer> ids);
 	
 	/**
 	*根据name查询 积分频率
 	*/
	public CreditsFrequencyDict findByName(String name);
	
	/**
 	*获取所有字典 积分频率
 	*/
	public List<CreditsFrequencyDict> findAll();
	
}	